import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from '&/store/store.js'
// import 'lib-flexible/flexible';
import animate from 'animate.css'
import axios from '&/router/axios.js'

import MinXin from '@/assets/js/mixin.js'
Vue.mixin(MinXin);

// https://www.swiper.com.cn/api/start/new.html
/* VueAwesomeSwiper */
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import style
import 'swiper/css/swiper.css'

Vue.use(VueAwesomeSwiper, /* { default options with global component } */)

/* ElementUI */
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

/* mint-ui */
import { DatetimePicker } from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.component(DatetimePicker.name, DatetimePicker);

// import axios from 'axios'
Vue.prototype.axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
